/**
 * Created by Administrator on 2017/5/8.
 */
var myChart2 = echarts.init(document.getElementById('serDet_data'));

var option2 = {
    tooltip: {
        trigger: 'item',
        formatter: "{a} <br/>{b}: {c} ({d}%)"
    },
    legend: {
        x: 'left',
        itemGap:20,
        itemWidth:12,
        itemHeight:12,
        top:12,
        bottom:12,
        left:88,
        data:[]
    },
    series: [
        {
        	name:'处罚概况',
            type:'pie',
            radius: ['45%', '65%'],
            avoidLabelOverlap: false,
            label: {
                normal: {
                    show: true
                }
            },
            labelLine: {
                normal: {
                    show: true
                }
            },
            data:[]
        }
    ]
};
myChart2.setOption(option2);